from sqlalchemy import Column, String, JSON

from app.db.base import Base


class Messages(Base):
    """
    模型配置表
    """

    message_info = Column(JSON, nullable=False, comment='聊天信息{"question":"问题","answer":"答案","reason":"原因"}')
    conversation_id = Column(String(36), nullable=False, comment='会话id')
